<template>
  <div>
    <div class="app-container">
      <mt-header fixed :title="title" />
      <mt-cell
        :title="partner.name"
        :label="partner.title__name"
        to=""
        is-link
        @click.native="onClick(row)"
      >
        <img slot="icon" :src="partner.image" width="24" height="24" />
      </mt-cell>

      <mt-button
        align="center"
        class="el-icon-plus"
        @click.native="handleLogout"
      >
        退出登录
      </mt-button>
      <div>
        {{ partner }}
      </div>
    </div>
  </div>
</template>

<script>
import MeMixin from './meMixin'

export default {
  name: 'MeConsultant',
  components: {},
  directives: {},
  filters: {},
  mixins: [MeMixin],
  props: {
    title: { type: String, default: '我的' }
  },

  data() {
    return {
      currentRow: {}
    }
  },
  computed: {},
  async created() {
    //
  },

  methods: {
    onClick(item) {
      console.log('xxx, click item,', item)

      this.currentRow = item
    }
  }
}
</script>

<style type="text/css"></style>
